package com.dao;

import com.bean.Role;
import com.bean.Seckill;
import com.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserSeckillMapper {

    Long selectByUserIdAndSeckillId(@Param("user") User user, @Param("seckill") Seckill seckill);

    Integer insert(Long userId,Long seckillId);

    Integer deleteBatch(List<Long> userSeckillIdList);

}
